package grape.crm.service.customercontact.map;

import grape.common.service.pojomapper.ServiceMapper;
import grape.crm.service.customercontact.param.AddCustomerContactParam;
import grape.crm.service.customercontact.po.CustomerContact;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * Created by yangwei
 * Created at 2020/9/15
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface CustomerContactServiceMapper extends ServiceMapper<CustomerContact> {

    CustomerContact paramToPo(AddCustomerContactParam param);
}
